package com.basin.admin.pojo.dto;

import com.basin.common.mybatisplus.base.BasePage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.boot.autoconfigure.AutoConfiguration;

/**
 * @author: Sam ZHONG | sammy1997@aliyun.com
 * @date: 2025/4/13 16:07
 * @description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AutoConfiguration
@NoArgsConstructor
@Schema(name = "菜单请求体")
public class MenuDTO extends BasePage {
    @Schema(description = "菜单编码")
    private String menuCode;

    @Schema(description = "菜单名称")
    private String menuName;

    @Schema(description = "菜单路径")
    private String menuUrl;

    @Schema(description = "菜单图标")
    private String menuIcon;

    @Schema(description = "菜单图标")
    private String menuType;

    @Schema(description = "菜单排序")
    private Integer menuSort;

    @Schema(description = "父级ID")
    private Integer parentId;

    @Schema(description = "归属系统编码")
    private String frontAppCode;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "是否启用")
    private Integer available;
}
